<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
			uni.request({
				url: 'apis/action/openapi/news_list',
				// url: 'https://api.zsfmyz.top/music/top',
				method: "GET",
				data: {
					// e: 'pv',
					// aid: 'tweet_channel_list_ad_1',
					// p: 'tweet_channel_list'
					access_token: "1608743987",
					catalog: 1,
					page: 1,
					pageSize: 20,
					dataType: 'json'
				},
				success(res) {
					console.log(res)
				},
				fail(err) {
					console.log(err)
				}
			})
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
